package com.thz.houserental.domain.house;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class HouseVo {
    private String id;

    /**
     * 房东（用户id)
     */
    private String landlord;

    @Schema(description = "作者名字")
    private String landlordNickName;

    @Schema(description = "作者头像")
    private String avatar;

    /**
     * 租期
     */
    private String leaseTerm;

    /**
     * 类型
     */
    private String type;

    /**
     * 户型
     */
    private String houseType;

    /**
     * 房屋价格
     */
    private Double price;

    /**
     * 位置
     */
    private String location;

    /**
     * 押金
     */
    private Double deposit;

    /**
     * 面积
     */
    private Double area;

    /**
     * 楼层
     */
    private Integer floor;

    /**
     * 详情描述
     */
    private String description;

    /**
     * 标签(多个便签以分号分割)
     */
    private String tag;

    @Schema(description = "图片下载url集合")
    private List<String> imageUrls;

    @Schema(description = "mp4下载url集合")
    private List<String> mp4Urls;

    @Schema(description = "收藏数")
    private Integer collectNum;

    @Schema(description = "喜欢数")
    private Integer likeNum;
    
    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
    
    @Schema(description = "是否收藏")
    private Boolean isCollected = false;
    
    @Schema(description = "是否加入喜欢")
    private Boolean isLiked = false;
    
    private String images;
    
    private String mp4s;
}
